/**
 * 项目名：	Rumba Plan
 * 
 * 版权所有(C)，上海海鼎信息工程股份有限公司，2006，所有权利保留。
 * 
 * 文件名：	COrgRole.java
 * 模块说明：	
 * 修改历史：
 * 2006-10-16 - lxm - 创建。
 */
package com.hd123.rumba.organization;

import com.hd123.rumba.cartridge.FVRumbaSystem;
import com.hd123.rumba.runtime.CBaseEntity;
import com.hd123.rumba.util.HashMap2;

/**
 * 组织角色 | 常量类
 * 
 * @author lxm
 * @see IOrgRole
 * 
 */
public class COrgRole extends CBaseEntity {

  public static String CAPTION_CLASS = "组织角色";

  /** 构件包前缀 */
  public static final String FUNCV_PREFIX = FVRumbaSystem.FUNCV_PREFIX;

  /** 状态 */
  public static Integer VALUE_STATE_USING = new Integer(0);
  public static String CAPTION_STATE_USING = "使用中";
  public static Integer VALUE_STATE_DELETED = new Integer(999);
  public static String CAPTION_STATE_DELETED = "已删除";
  public static HashMap2 STATEMAP = new HashMap2().put2(VALUE_STATE_USING, CAPTION_STATE_USING)
      .put2(VALUE_STATE_DELETED, CAPTION_STATE_DELETED);

  /** @see IOrgRole#getType() */
  public static String CAPTION_TYPE = "类型";
  public static Integer VALUE_TYPE_INTERNAL = new Integer(0);
  public static String CAPTION_TYPE_INTERNAL = "内部组织角色";
  public static Integer VALUE_TYPE_EXTERNAL = new Integer(1);
  public static String CAPTION_TYPE_EXTERNAL = "外部组织角色";
  public static HashMap2 TYPEMAP = new HashMap2().put2(VALUE_TYPE_INTERNAL, CAPTION_TYPE_INTERNAL)
      .put2(VALUE_TYPE_EXTERNAL, CAPTION_TYPE_EXTERNAL);

  /** @see IOrgRole#getOrganization() */
  public static String CAPTION_ORGANIZATION = "组织";
  
}
